#ifndef QUAD_CURVE_H
#define QUAD_CURVE_H

#include "Graphic.h"

#define SHADER_FN "quadratic"

class QuadraticCurve : public Graphic
{
public:
    QuadraticCurve();
    ~QuadraticCurve();

    void draw();
    void drawControlGeometry();
protected:
private:
    void drawInnerPolygon();
    void drawEdgeTriangles();
    void drawOpenCurve();
};

#endif